using PBMessage;
using System.Collections.Generic;
using System;
public static class IDToPBType
{
  public static Dictionary<int, Type> TypeDic = new Dictionary<int, Type>()
  { { 0 , typeof(CS_Login) },
 { 1 , typeof(SC_Login) },
 { 2 , typeof(CS_LobbyTick) },
 { 3 , typeof(SC_LobbyTick) },
 { 4 , typeof(CS_StartMatch) },
 { 5 , typeof(SC_StartMatch) },
 { 6 , typeof(CS_SelectUnit) },
 { 7 , typeof(SC_EnterGameRoom) },
 { 8 , typeof(SC_GameSceneTick) },
 { 9 , typeof(SC_CreateUnit) },
 { 10 , typeof(CS_MoveUnit) },
 { 11 , typeof(SC_MoveUnit) },
 { 12 , typeof(SC_UnitState) },
 { 13 , typeof(SC_OptUnit) },
 { 14 , typeof(CS_RunAbility) },
 { 15 , typeof(SC_ExecAbility) },
 { 16 , typeof(SC_SyncUnitProperty) },
 { 17 , typeof(SC_UnitAddMover) },
 };
}public enum PBMesasgeID
{
CS_Login = 0,
SC_Login = 1,
CS_LobbyTick = 2,
SC_LobbyTick = 3,
CS_StartMatch = 4,
SC_StartMatch = 5,
CS_SelectUnit = 6,
SC_EnterGameRoom = 7,
SC_GameSceneTick = 8,
SC_CreateUnit = 9,
CS_MoveUnit = 10,
SC_MoveUnit = 11,
SC_UnitState = 12,
SC_OptUnit = 13,
CS_RunAbility = 14,
SC_ExecAbility = 15,
SC_SyncUnitProperty = 16,
SC_UnitAddMover = 17,
}